Travelpayouts\components\Model B

Total Complexity 88
Dependencies 11
Dependents 2
Total lines 584
Lines of code 244
Logical lines of code 134
Comment lines 255
Methods 31
Properties 3

Methods 31

Method Rating Maintainability Complexity Lines of code
scenarios()
B
46 17 41
get_active_validators()
S
54 7 20
validate()
S
53 6 22
create_validators()
S
58 5 14
safe_attributes()
S
59 5 14
set_attributes()
S
63 5 10
active_attributes()
S
59 4 14
get_attributes()
S
61 4 13
add_errors()
S
65 4 9
attributes()
S
64 3 10
getErrors()
S
70 3 6
has_errors()
S
70 2 6
get_error()
S
78 2 3
clear_errors()
S
71 2 6
get_validators()
S
71 2 6
get_attribute_label()
S
74 2 4
offsetSet()
S
81 1 3
offsetExists()
S
80 1 3
offsetGet()
S
82 1 3
getIterator()
S
76 1 4
fields()
S
76 1 4
rules()
S
82 1 3
set_scenario()
S
81 1 3
get_scenario()
S
82 1 3
after_validate()
S
91 1 2
before_validate()
S
82 1 3
is_attribute_safe()
S
79 1 3
generate_attribute_label()
S
79 1 3
attribute_labels()
S
82 1 3
add_error()
S
80 1 3
offsetUnset()
S
81 1 3